package net.zdsoft.wpchat.support.dao;

import net.zdsoft.wpchat.support.entity.ResultPack;

/**
 * 语法执行dao
 *
 * @author xuan
 */
public interface SqlTaskDao {

	/**
	 * 根据语法进行查找
	 *
	 * @param sql
	 * @return
	 */
    ResultPack executeQuery(String sql);

    /**
     * 根据语法进行更新
     *
     * @param sql
     * @return
     */
    int executeUpdate(String sql);

}
